package net.wicp.tams.component.services;

import java.util.Locale;

import net.wicp.tams.commons.callback.IConvertValue;

public interface ISupportedLocales {
	public String getSupportedLocales();

	public Locale getCurLocale();

	public String buildUrl(String oriUrl);

	public void setLocale(String lang);

	/***
	 * 得到I18NConvert
	 * 
	 * @return
	 */
	public IConvertValue<String> getConvert();

	/***
	 * 对某个对象的colName进行国际化
	 * 
	 * @param colName
	 * @return
	 */
	public IConvertValue<Object> getConvert(String colName);
}
